package com.huanying.goodjob.community;

import java.util.List;
import java.util.Map;

import com.huanying.framework.PageBean;

public interface CommunityService {

	public void add(Community community) throws Exception;

	public void update(Community community) throws Exception;

	public void delete(Community community) throws Exception;

	public Community getbyId(int id) throws Exception;
	
	public Area getbyCode(String code) throws Exception;

	public PageBean searchCommunity(Map<String, String> map, int pageSize, int page) throws Exception;


	public List getProvince() throws Exception;

	public List getCity(String code) throws Exception;

	public List getCounty(String code) throws Exception;
	public List getbyCountyCode(int county_code) throws Exception;

	public int delete_community(int id) throws Exception;
	
	public String getCounty_bystring(String county) throws Exception;

}
